﻿using Max.PH5_2004A.Shopping.Domain;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2004A.Shopping.EFCore
{
    public class MaxPH52004AShoppingDbContext : DbContext
    {

        public MaxPH52004AShoppingDbContext(DbContextOptions<MaxPH52004AShoppingDbContext> options) : base(options) 
        { }


        public DbSet<MemberModel> Members { get; set; }
        public DbSet<GoodsModel> Goods { get; set; }
        public DbSet<GoodsImgModel> GoodsImgs { get; set; }
        public DbSet<OperationLogModel> OperationLog { get; set; }

        public DbSet<CategoryModel> Categories { get; set; }
    }
}
